import { createApp } from 'vue'
// import './style.css'
import App from './App.vue'
//导入路由
import router from './router.js'
//全局注册
// import GlobalCom from './components/GlobalCom.vue'
import Vif from './components/VIf.vue'
import Child from './components/Child.vue'
const app = createApp(App)
// app.component("GlobalCom",GlobalCom)
// app.component("Vif",Vif)
// app._component("Child",Child)
//挂载路由
app.use(router)

app.mount("#app")

// createApp(App).mount('#app')

